package com.LCQ.crm.workbench.service;

import com.LCQ.crm.vo.PaginationVo;
import com.LCQ.crm.workbench.domain.Contacts;
import com.LCQ.crm.workbench.domain.Tran;
import com.LCQ.crm.workbench.domain.TranHistory;

import java.util.List;
import java.util.Map;

public interface TransactionService {
    String[] getCustomerName(String name);

    List<Contacts> getContactsByCond(Map<String, String> map);

    List<Contacts> getActivityByCond(Map<String, String> map);

    boolean save(Tran tran, String customerName);

    PaginationVo<Tran> getPageList(Map<String, Object> map);

    Tran getDetail(String id);
    List<TranHistory> getTranHistoryList(String tranId);

    boolean changeStage(String stage, String tranId, String editBy);
}